package com.yunjian.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 经销商采购单
 * </p>
 *
 * @author laizhiwen
 * @since 2020-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_sys_order")
public class SysOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 经销商id
     */
    private Integer userId;

    /**
     * 经销商名称
     */
    private String userName;

    /**
     * 公司
     */
    private String company;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 联系方式
     */
    private String mobile;

    /**
     * 订单状态 0未提交 1已提交,待确认 2已确认 3已发货
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 删除标记
     */
    private Integer deleteFlag;

    private Date shipTime;

    private String shipCompany;

    private String shipNo;


}
